namespace Pinky.Xml.BasicConverters
{
    public class IntConverter : ITypeConverter<int>
    {
        public int FromString(string data)
        {
            return int.Parse(data);
        }

        public string ToString(int data)
        {
            return data.ToString();
        }
    }
}